Skip to content

Split query parsing into explicit-schema and default-schema entry points.#3

Merged
gustavofreze merged 1 commit into
mainfrom
feature/develop
Jul 2, 2026
Merged

Split query parsing into explicit-schema and default-schema entry points.#3
gustavofreze merged 1 commit into
mainfrom
feature/develop

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Criteria::fromQuery now takes a mandatory schema before the request, so the contract is always explicit at the call site. The former request-only case moves to Criteria::fromQueryWithDefaultSchema, which applies the empty default schema. This is a breaking change on both the offset and cursor Criteria.

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

…ry points.

Criteria::fromQuery now takes a mandatory schema before the request, so the
contract is always explicit at the call site. The former request-only case
moves to Criteria::fromQueryWithDefaultSchema, which applies the empty
default schema. This is a breaking change on both the offset and cursor
Criteria.
@gustavofreze gustavofreze merged commit e742b7f into main Jul 2, 2026
8 checks passed
@gustavofreze gustavofreze deleted the feature/develop branch July 2, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant